package D240606.singleton;

public class StuTest {
    public static void main(String[] args) {
        /*for (int i = 0; i < 5; i++) {
            System.out.println(Student.getInstance());
        }*/

        EnumStudent enumStudent = EnumStudent.STUDENT;
        EnumStudent enumStudent1 = EnumStudent.STUDENT;
        System.out.println(enumStudent == enumStudent1);
    }
}
